package com.example.teesystem.service;

import com.example.teesystem.common.utils.Response;
import com.example.teesystem.entity.CourseData;
import com.baomidou.mybatisplus.extension.service.IService;


/**
* @author ASUS
* @description 针对表【t_course_data】的数据库操作Service
* @createDate 2022-03-31 09:22:05
*/
public interface CourseDataService extends IService<CourseData> {

    Response updateStar(Integer id, Float star);

    Response remove(Integer id);

    Response getDataByCourseId(Integer courseId, Integer cur, Integer size, Integer isPublic, Boolean star);

    Response getCourseDataOfSomebody(Integer Uid, Integer CourseId, Integer cur, Integer size, Boolean star);
}
